/*
 * @Author: your name
 * @Date: 2022-04-12 10:35:29
 * @LastEditTime: 2022-04-20 13:09:48
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \trace-source-web\src\api\production-api\index-primary.js
 */
import xjaxios from "@/api/axios-source_trace";
// let organizationNo = sessionStorage.getItem('organizationNo');

export default {
  /**
     * @description: 获取溯源码图片
     * @param {String} userId
     * @param {String} system
     * @return {Object}
     */
  // 获取溯源码图片
  // 日历
  traceCodeImage(params) {
    return xjaxios.post("/underlay/queryByCondition", { organizationNo: params });
  },
  traceCodeImageAdd(params) {
    console.log(params);
    return xjaxios.post("/underlay/add", { ...params });
  }

}
